Method and apparatus for controlling alarm operation in a terminal

ABSTRACT

According to one embodiment, a method and apparatus for controlling an alarm operation in a terminal, by which a plurality of alarms are terminated in the terminal. The method includes setting at least one of multiple alarm groups, each alarm group including multiple alarms, in which the setting of the at least one alarm groups includes automatically setting termination of the plurality of alarms associated with the alarm group to correspond to termination of the alarm group.

CROSS-REFERENCE TO RELATED APPLICATION(S) AND CLAIM OF PRIORITY

The present application is related to and claims the benefit under 35U.S.C. §119(a) of a Korean Patent Application filed in the KoreanIntellectual Property Office on Jul. 30, 2012 and assigned Serial No.10-2012-0083066, the entire disclosure of which is hereby incorporatedby reference.

TECHNICAL FIELD OF THE INVENTION

The present invention generally relates to alarming devices, and moreparticularly, to a method and apparatus for controlling an alarmoperation in a terminal.

BACKGROUND OF THE INVENTION

Generally, an alarm function provided in a terminal generates an alarmwhen alarm duration and interval are set and deactivated. In this case,if a snooze function is set, an alarm is generated for a preset numberof times and at preset time intervals.

However, a user who desires more than the snooze function often sets aplurality of alarms for a single waking event.

When the plurality of alarms are set and activated for one waking event,if that event is achieved prior to generation of all of the alarms, theuser has to separately deactivate the remaining alarms or terminateevery alarm upon generation of the alarm.

SUMMARY OF THE INVENTION

To address the above-discussed deficiencies of the prior art, it is aprimary object to provide a method and apparatus for controlling analarm operation in a terminal.

The present invention also provides a method and apparatus forcontrolling an alarm operation in a terminal, by which termination ofmultiple alarms grouped in a group is automatically set to correspond totermination of the group.

According to an aspect of the present invention, a method forcontrolling an alarm operation in a terminal includes setting at leastone alarm group, each including a plurality of alarms, in which thesetting of the at least one alarm group includes automatically settingtermination of the alarms to correspond to termination of the alarmgroup.

According to another aspect of the present invention, an apparatus forcontrolling an alarm operation in a terminal includes a controllerconfigured to set at least one alarm group, each including a pluralityof alarms, and automatically setting termination of the alarms tocorrespond to termination of the alarm group.

Before undertaking the DETAILED DESCRIPTION OF THE INVENTION below, itmay be advantageous to set forth definitions of certain words andphrases used throughout this patent document: the terms “include” and“comprise,” as well as derivatives thereof, mean inclusion withoutlimitation; the term “or,” is inclusive, meaning and/or; the phrases“associated with” and “associated therewith,” as well as derivativesthereof, may mean to include, be included within, interconnect with,contain, be contained within, connect to or with, couple to or with, becommunicable with, cooperate with, interleave, juxtapose, be proximateto, be bound to or with, have, have a property of, or the like; and theterm “controller” means any device, system or part thereof that controlsat least one operation, such a device may be implemented in hardware,firmware or software, or some combination of at least two of the same.It should be noted that the functionality associated with any particularcontroller may be centralized or distributed, whether locally orremotely. Definitions for certain words and phrases are providedthroughout this patent document, those of ordinary skill in the artshould understand that in many, if not most instances, such definitionsapply to prior, as well as future uses of such defined words andphrases.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present disclosure and itsadvantages, reference is now made to the following description taken inconjunction with the accompanying drawings, in which like referencenumerals represent like parts:

FIG. 1 illustrates an example terminal according to an embodiment of thepresent invention;

FIG. 2 illustrates an example process of setting an alarm group in aterminal according to a first embodiment of the present invention;

FIG. 3 illustrates an example process of setting an alarm group in aterminal according to a second embodiment of the present invention;

FIG. 4 illustrates an example process of setting an alarm group in aterminal according to a third embodiment of the present invention; and

FIGS. 5A and 5B illustrate an example process of terminating an alarmgroup in a terminal according to an embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

FIGS. 1 through 5B, discussed below, and the various embodiments used todescribe the principles of the present disclosure in this patentdocument are by way of illustration only and should not be construed inany way to limit the scope of the disclosure. Those skilled in the artwill understand that the principles of the present disclosure may beimplemented in any suitably arranged alarm devices. Hereinafter,embodiments of the present invention will be described in detail withreference to the accompanying drawings. Throughout the drawings, likecomponents will be referred to as like reference numerals.

A terminal according to the embodiments of the present inventionincludes a portable terminal and a fixed terminal. Herein, the portableterminal is a mobile electronic apparatus which is easy to carry, suchas a video phone, a cellular phone, a smart phone, an InternationalMobile Telecommunication (IMT)-2000 terminal, a Wideband Code DivisionMultiple Access (WCDMA) terminal, a Universal Mobile TelecommunicationService (UMTS) terminal, a Personal Digital Assistant (PDA), a PortableMultimedia Player (PMP), a Digital Multimedia Broadcasting (DMB)terminal, an Electronic (E) book, a portable computer (e.g., a notebook,a tablet, and the like), a digital camera, or the like. The fixedterminal may be a desktop personal computer, and the like

FIG. 1 illustrates an example terminal according to an embodiment of thepresent invention.

Referring to FIG. 1, a Radio Frequency (RF) unit 123 performs a radiocommunication function of the terminal. The RF unit 123 includes an RFtransmitter for up-converting a frequency of a transmission signal andamplifying the transmitted signal and an RF receiver for low-noiseamplifying a received signal and down-converting the frequency of thereceived signal. A data processor 120 includes a transmitter forencoding and modulating the transmission signal and a receiver fordemodulating and decoding the received signal. That is, the dataprocessor 120 may include a modem and a codec. Herein, the codecincludes a data codec for processing packet data and an audio codec forprocessing an audio signal such as voice. An audio processor 125reproduces a received audio signal being output from the audio codec ofthe data processor 120 or transmits a transmission audio signalgenerated from a microphone to the audio codec of the data processor120.

A key input unit 127 includes keys for inputting numeric and characterinformation and functional keys for setting various functions.

A memory 130 includes program and data memories. The program memorystores programs for controlling a general operation of the terminal, andprograms for automatically setting termination of a plurality of alarmsto correspond to termination of an alarm group including the pluralityof alarms and terminating all alarms included in an alarm groupincluding a generated alarm at a time according to user's selection,according to an embodiment of the present invention. The data memoryalso temporarily stores data generated during execution of the programs.

The memory 130 stores a plurality of alarm groups, each of whichincludes a plurality of alarms, according to an embodiment of thepresent invention.

The memory 130 also stores a plurality of alarm groups corresponding toat least one characters in an automatic alarm group setting modeaccording to an embodiment of the present invention.

A controller 110 functions to control the overall operation of theterminal.

According to an embodiment of the present invention, the controller 110sets at least one of multiple alarm groups, each of which includes aplurality of alarms, and automatically sets termination of the pluralityof alarms associated with each alarm group to correspond to terminationof its associated alarm group.

According to an embodiment of the present invention, the controller 110sets at least one alarm group, each of which includes a plurality ofalarms, and upon generation of an alarm group termination, thecontroller 110 automatically terminates at least one alarms to begenerated after the termination of the alarm group, together withtermination of a currently generated alarm in the alarm group.

According to an embodiment of the present invention, the controller 110also adds a new alarm to a corresponding alarm group among a pluralityof existing alarm groups, or adds a new alarm to a newly addedcorresponding alarm group, if alarm group setting is selected in analarm mode of the terminal. If an alarm sub-group of the correspondingalarm group is selected, the controller 110 determines whether to add anew alarm to the alarm sub-group, and determines whether to delete thealarm sub-group upon selection of alarm group termination as anoperation corresponding to alarm generation.

According to an embodiment of the present invention, the controller 110displays at least one set of alarms (or separate alarms) in the alarmmode of the terminal, and sets at least one alarm selected from amongthe displayed alarms as alarms of a corresponding alarm group, or alarmsof an alarm sub-group including the corresponding alarm group.

According to an embodiment of the present invention, the controller 110displays at least one separate alarm in the alarm mode of the terminal,and in the automatic alarm group setting mode, searches for informationrecorded in each of the displayed alarms, searches for an alarm groupcorresponding to at least one character included in the recordedinformation, and automatically sets each of the alarms as an alarm ofthe alarm group corresponding to the at least one character included inthe information. If an alarm, which is not set as an alarm of the alarmgroup, exists among the displayed at least one separate alarms, thecontroller 110 manually sets that alarm as an alarm of the alarm groupor sets the alarm as an alarm of a new alarm group.

According to an embodiment of the present invention, if alarm grouptermination is selected during generation of an alarm in the terminal,the controller 110 terminates the alarms to be generated after the alarmgroup termination among the alarms included in a corresponding alarmgroup, together with termination of the currently generated alarm.

According to an embodiment of the present invention, if alarm grouptermination is selected during generation of an alarm in the terminal,the controller 110 determines whether an alarm sub-group exists in analarm group including the generated alarm, and if the alarm sub-groupexists, the controller 110 checks a deletion setting for the alarmsub-group to terminate all alarms included in the alarm group except foralarms included in the alarm sub-group if deletion exception is set forthe alarm sub-group.

All alarms except for alarms included in the alarm sub-group include thegenerated alarm and at least one alarm to be generated after thegeneration of the alarm group termination, among the alarms of the alarmgroup including the generated alarm except for alarms included in thealarm sub-group. Alarms preceding the generation of the alarm grouptermination may have been terminated because they have already beengenerated.

According to an embodiment of the present invention, the controller 110terminates all alarms included in the alarm group including thegenerated alarm, if any alarm sub-group does not exist in the alarmgroup.

According to an embodiment of the present invention, the controller 110terminates all alarms included in the alarm group including thegenerated alarm, if a termination exception for the alarm sub-group isnot set. All alarms included in the alarm group may include thegenerated alarm and at least one alarm to be generated after thegeneration of the alarm group termination in the alarm group includingthe generated alarm. Alarms preceding the generation of the alarm grouptermination may have been terminated because they have already beengenerated.

According to an embodiment of the present invention, the controller 110terminates the generated alarm upon selection of alarm terminationduring generation of the alarm, and upon selection of a snooze functionduring generation of the alarm, the controller 110 sets a snoozefunction of terminating the generated alarm and generating alarms aspecified number of times at specified intervals.

According to an embodiment of the present invention, the controller 110determines, among the terminated alarms, an alarm whose repetitionperiod is set to occur one time, to a one-time alarm group, and releasesalarm termination for an alarm whose repetition period is set to occurmultiple times among the terminated alarms.

A camera module 140 captures an image, and may include a camera sensorfor converting an optical signal of the captured image into anelectrical signal, and a signal processor for converting an analog imagesignal of the image captured by the camera sensor into digital data.Herein, it is assumed that the camera sensor is a Charge Coupled Device(CCD) sensor or a Complementary Metal Oxide Semiconductor (CMOS) sensor,and the signal processor may be implemented as a Digital SignalProcessor (DSP). In addition, the camera sensor and the signal processormay be implemented as one piece or separately.

The image processor 150 performs Image Signal Processing (ISP) todisplay an image signal output from the camera module 140 on a displayunit 160. The ISP executes functions such as gamma correction,interpolation, color space conversion, image effect, image scale, AutoWhite Balance (AWB), Auto Exposure (AE) and Auto Focus (AF). Thus, theimage processor 150 processes the image signal output from the cameramodule 140 in the unit of a frame, and outputs frame image dataadaptively to the features and size of the display unit 160. The imageprocessor 150 includes an image codec, and compresses the frame imagedata displayed on the display unit 160 in a preset manner or restoresthe compressed frame image data to the original frame image data.Herein, the image codec may be Joint Picture Experts Group (JPEG) codec,Moving Picture Experts Group 4 (MPEG4) codec, or Wavelet codec. It isassumed that the image processor 150 has an on screen display (OSD)function. The image processor 150 may output OSD data according to thedisplayed picture size under the control of the controller 110.

The display unit 160 displays an image signal output from the imageprocessor 150 on the screen and displays user data output from thecontroller 110. Herein, the display unit 160 may be a Liquid CrystalDisplay (LCD), and in this case, the display unit 160 may include an LCDcontroller, a memory capable of storing image data, an LCD element, andso on. When the LCD is implemented with a touch screen, it may alsoserve as an input unit, and in this case, keys such as the key inputunit 127 may be displayed on the display unit 160.

According to an embodiment of the present invention, the display unit160 also displays types of alarm termination a user can select, such as,group alarm termination, alarm termination, and snooze, when an alarm isgenerated.

A process of controlling an alarm operation in a terminal will bedescribed in detail with reference to FIGS. 2 through 5.

FIG. 2 illustrates an example process of setting an alarm group in theterminal according to a first embodiment of the present invention, FIG.3 illustrates an example process of setting an alarm group in theterminal according to a second embodiment of the present invention, andFIG. 4 illustrates an example process of setting an alarm group in theterminal according to a third embodiment of the present invention. InFIGS. 2 through 4, operations for automatically setting termination of aplurality of alarms included in a corresponding alarm group tocorrespond to termination of the alarm group are described in detail.Hereinafter, the embodiments of the present invention will be describedin detail also with reference to FIG. 1.

As to an operation of setting an alarm group in FIG. 2, upon selectionof an alarm menu in the terminal, the controller 110 senses theselection in step 201 and switches to an alarm mode. If alarm groupsetting is selected in the alarm mode, the controller 110 senses theselection in step 202 and switches to an alarm group setting mode. Inthe alarm group setting mode, the controller 110 displays a plurality ofalarm groups provided by default in the terminal or previously added bythe user. If the user selects a corresponding alarm group from among theplurality of alarm groups, the controller 110 senses the selection instep 203, and adds an alarm newly set by the user to the selected alarmgroup in step 204.

For example, if the user sets at least one alarm after selecting analarm group used for morning wakeup from among the plurality of alarmgroups, the set alarm is added as an alarm of the alarm group used forthe morning wakeup.

Alternatively, if the alarm group addition is selected to add a newalarm group in the alarm group setting mode, the controller 110 sensesthe selection in step 205 and adds a new alarm group used for anysuitable purpose inputted by the user in step 206.

If a new alarm is set after the new alarm group is selected, thecontroller 110 adds the new alarm as an alarm of the new alarm group instep 207.

If alarm sub-group addition is selected during addition of the alarm tothe corresponding alarm group in the alarm group setting mode, thecontroller 110 senses the selection in step 208, and adds a new alarm inthe alarm sub-group as an alarm of the alarm sub-group and sets whetherto delete the alarm sub-group upon selection of alarm group terminationas an operation corresponding to alarm generation in step 209.

Alternatively, since an existing alarm group may include at least onealarm sub-group, an alarm sub-group among multiple alarm sub-groups maybe selected to add a new alarm thereto.

One alarm group may include at least one alarm sub-group, and the alarmsub-group may be deleted or excluded from the termination according tosetting of whether to delete the alarm sub-group, when alarm grouptermination for a corresponding alarm group including the alarmsub-group is selected.

For example, among multiple alarms that are set for the same purpose, analarm which should not be deleted or an alarm whose repetition period isset to occur one time to be generated on a particular date may be set asan alarm of the alarm sub-group, and a termination exception may be setfor the alarm sub-group, thereby preventing such an alarm from beingterminated as an alarm of a corresponding alarm group.

As to an operation of setting an alarm group in FIG. 3, upon selectionof the alarm menu in the terminal, the controller 110 senses theselection in step 301 and switches to an alarm mode, and continuesprocessing at step 302 in which separately set alarms (or separatealarms) exist, they are displayed on the display unit 160 in the alarmmode.

If manual alarm group setting is selected during display of the separatealarms, the controller 110 senses the selection in step 303 and switchesto a manual alarm group setting mode. If at least one separate alarm isselected from among the displayed separate alarms in the manual alarmgroup setting mode, the controller 110 senses the selection in step 304and displays a plurality of existing alarm groups. At this time, alarmsub-groups included in each alarm group may also be displayed together.

Thus, if a corresponding alarm group or a corresponding alarm sub-groupis selected from among the plurality of alarm groups, the controller 110senses the selection in step 305, and sets the selected separate alarmsas alarms of the selected corresponding alarm group or correspondingalarm sub-group in step 306.

If a new alarm group addition is selected after selection of theseparate alarms from among the displayed separate alarms in the manualalarm group setting mode, the controller 110 adds a new alarm grouphaving a purpose inputted by the user in step 308. The controller 110sets the selected at least one separate alarms as alarms of the newalarm group in step 309.

As to an operation of setting an alarm group in FIG. 4, upon selectionof the alarm menu in the terminal, the controller 110 senses theselection in step 401 and switches to the alarm mode, and goes to step402 in which if separate alarms exist, the separate alarms are displayedon the display unit 160 in the alarm mode.

If automatic alarm group setting is selected during display of theseparate alarms, the controller 110 senses the selection in step 403 andswitches to an automatic alarm group setting mode. The controller 110searches for information recorded in each of the displayed separatealarms in step 404, and searches in the plurality of alarm groups storedin the memory 130 for an alarm group corresponding to at least onecharacter included in the searched information in step 405.

The controller 110 sets each of the displayed separate alarms as analarm of an alarm group corresponding to the at least one character instep 406. At this time, according to user's selection, the separatealarms of the alarm group may be moved to the alarm group and thus maynot be displayed as the separate alarms.

However, if an alarm which is not set as an alarm of an alarm groupexists among the displayed separate alarms, the controller 110 sensestheir existence in step 407 and displays a message indicating existenceof the alarm which is not set as an alarm of an alarm group. If newgroup addition is selected during display of the message, the controller110 senses the selection in step 408, and adds a new alarm group havinga purpose inputted by the user and sets the alarm which is not set as analarm of the alarm group as an alarm of the new alarm group in step 409.

Alternatively, if manual alarm group setting is selected by the userduring display of the message, the user may directly set the alarm whichis not set as an alarm of the alarm group as an alarm of a correspondingalarm group.

For example, when the user sets an alarm function, may recordinformation associated with an alarm. Therefore, in the automatic alarmgroup setting mode, information recorded in a separate alarm issearched, and for example, if information “Wakeup Time” is recorded in aparticular separate alarm, the controller 110 may search for an alarmgroup corresponding to characters “Wakeup” among a plurality of alarmgroups stored in the memory 130. Thus, the particular separate alarm maybe automatically set as an alarm of the alarm group corresponding to thecharacters “Wakeup”. Therefore, each of the plurality of alarm groupsstored in the memory 130 has one purpose, but may include a plurality ofcorresponding characters for one purpose. For example, an alarm grouphaving a purpose of a morning call may correspond to a plurality ofcharacters such as “Wakeup”, “Morning”, and the like, and such aconfiguration may be edited according to a user's setting.

A plurality of alarms grouped in an alarm group as shown in FIGS. 2through 4 may be automatically set such that upon alarm terminationduring sequential generation of alarms, at least one alarm, which is tobe generated after the generation of the alarm group termination, arealso terminated together with a currently generated alarm.

After an alarm group is set in the terminal as shown in FIGS. 2 through4, an alarm generated in the terminal is terminated as shown in FIGS. 5Aand 5B.

FIGS. 5A and 5B illustrate an example process of terminating an alarmgroup in the terminal according to an embodiment of the presentinvention.

Hereinafter, an embodiment of the present invention will be described indetail also with reference to FIG. 1.

Referring to FIGS. 5A and 5B, upon generation of an alarm that has beenset in the terminal, the controller 110 senses the generation in step501, and displays types of alarm termination for terminating thegenerated alarm in step 502.

Types of alarm termination may include “alarm-group termination”, “alarmtermination”, and “snooze”. The “alarm-group termination” may terminateall alarms of an alarm group including the generated alarm at a time;“alarm termination” terminates only the generated alarm; and “snooze”terminates the generated alarm and generates alarms repetitively aspecified number of times at specified intervals.

Therefore, upon generation of the alarm, the controller 110 displays thetypes of alarm termination including “alarm-group termination” ifdetermining that the generated alarm is set as an alarm of a particularalarm group, and displays the types of alarm termination without“alarm-group termination” if determining that the generated alarm is notset as an alarm of a particular alarm group.

Upon generation of the alarm, the controller 110 displays the types ofalarm termination including “snooze” if determining that the snoozefunction is not set in the generated alarm, and displays the types ofalarm termination without “snooze” if determining that the snoozefunction is set in the generated alarm.

If “alarm-group termination” is selected from among the types of alarmtermination displayed during generation of the alarm, the controller 110senses the selection in step 503 and determines whether an alarmsub-group exists in the alarm group including the generated alarm.

If the alarm sub-group exists in the alarm group including the generatedalarm, the controller 110 senses the sub-group in step 504 and checkstermination setting for the alarm sub-group in step 505.

If a termination exception for the alarm sub-group is set, thecontroller 110 senses the exception in step 506 and terminates allalarms of the alarm group including the generated alarm except foralarms included in the alarm sub-group in step 507.

For example, if alarm sub-groups “AM 05:00 Alarm”, “AM 05:10 Alarm”, “AM05:20 Alarm”, “AM 05:30 Alarm”, and “Morning Wakeup-1” are included inan alarm group being set for the purpose “Morning Wakeup”, upongeneration of the “AM 05:10” alarm and selection of “Alarm-GroupTermination”, the “AM 05:20” alarm and the “AM 05:30” alarm to begenerated are terminated at a time together with the “AM 05:10” alarm.Since the “AM 05:00” alarm has already been generated, it may havealready been terminated. However, if the user releases termination ofthe “AM 05:00” alarm, termination or termination exception for the “AM05:00” alarm may be performed according to user's setting.

If, however, a termination exception is not set for the alarm sub-group,the controller 110 senses the setting in step 506 and terminates allalarms of the alarm group including the generated alarm at a time instep 508.

For example, the alarm sub-groups “AM 05:00 Alarm”, “AM 05:10 Alarm”,“AM 05:20 Alarm”, “AM 05:30 Alarm”, and “Morning Wakeup-1” are includedin the alarm group set for the purpose “Morning Wakeup”, upon generationof the “AM 05:10” alarm and selection of “Alarm-Group Termination”,alarms of the alarm sub-groups “AM 05:20 Alarm”, “AM 05:30 Alarm”, and“Morning Wakeup-1” to be generated are terminated at a time togetherwith the “AM 05:10” alarm.

Upon selection of “Alarm Termination” from among the types of alarmtermination displayed during the generation of the alarm, the controller110 senses the selection in step 503 and terminates only the generatedalarm in step 510.

Upon selection of “Snooze” from among the types of alarm terminationdisplayed during the generation of the alarm, the controller 110 sensesthe selection in step 511, and sets a snooze function of terminatingonly the generated alarm and generating alarms for a specified number oftimes at specified intervals in step 512. The snooze function setting ofstep 512 may be performed such that the specified intervals and thespecified number of times are set by the user or specified intervals anda specified number of times which are set by default may beautomatically applied.

After completion of the termination of the generated alarm in steps 503through 512, the controller 110 determines a repetition period set forthe terminated alarms in step 513. If the alarm is terminated by“Alarm-Group Termination”, the terminated alarms includes not only thealarm generated in step 501, but also alarms of an alarm group includingthe alarm generated in step 501.

If an alarm whose repetition period is set to occur multiple timesexists among the terminated alarms as a result of the determination, thecontroller 110 senses the existence in step 514, and releases alarmtermination for the alarm whose repetition period is set to occurmultiple times on the next day in step 515.

For example, if the alarm's repetition period is set such that the alarmis repeated every Monday to Friday at “AM 05:00”, “AM 05:30”, and “AM06:00”, alarm termination is released such that even when an alarm isgenerated at AM 05:00 on Monday and all alarms (AM 05:00, AM 05:30, andAM 06:00 alarms) of an alarm group are terminated at a time by selectionof “Alarm-Group Termination”, alarms are generated at AM 05:00, AM05:30, and AM 06:00 on the next day, Tuesday.

Alternatively, as a result of determining that a repetition period setfor the terminated alarms, if an alarm whose repetition period is set tooccur one time exists among the terminated alarms, the controller 110determines the repetition period in step 514 and moves the alarm whoserepetition period is set to occur one time to a one-time alarm group instep 516.

Generally, an alarm being set as a one-time alarm, after beinggenerated, is displayed in a deactivated state unless deleted by theuser. Therefore, if the alarm being set as a one-time alarm isgenerated, such an alarm is moved to a particular alarm group, that is,the one-time alarm group, such that it may be automatically removedafter an elapse of a specified time or, together with other alarms ofthe one-time alarm group, may be deleted at a time by the user.

By providing a method and apparatus for controlling an alarm operationin a terminal according to the present invention, multiple alarms may beterminated at a time to allow a user to more efficiently use the alarms.

The apparatus and method for controlling an alarm operation in aterminal according to the present invention can be embodied as acomputer-readable code on a computer-readable recording medium. Thecomputer-readable recording medium is any data storage device that canstore data which can be thereafter read by a computer system. Examplesof computer-readable recording media include read-only memory (ROM),random-access memory (RAM), optical disks, magnetic tapes, floppy disks,hard disks, non-volatile memories, and the like, and carrier waves(e.g., transmission through the Internet). The computer-readablerecording medium can also be distributed over network-coupled computersystems so that the computer-readable code is stored and executed in adecentralized fashion.

Although the present disclosure has been described with an exemplaryembodiment, various changes and modifications may be suggested to oneskilled in the art. It is intended that the present disclosure encompasssuch changes and modifications as fall within the scope of the appendedclaims.

What is claimed is:
 1. A method for controlling an alarm operation in aterminal, the method comprising: setting, using one or more processorsin the terminal, at least one of a plurality of alarm groups, each alarmgroup comprising a plurality of alarms and setting termination of theplurality of alarms to correspond to termination of the alarm group;when the alarm group termination is selected during generation of analarm in the terminal, determining, using the one or more processors inthe terminal, whether an alarm sub-group exists in an alarm groupincluding the generated alarm; and when the alarm sub-group does notexist in the alarm group, terminating, using the one or more processorsin the terminal, all alarms of an alarm group including the generatedalarm.
 2. The method of claim 1, wherein the setting of the at least onealarm groups comprises automatically setting termination of at least onealarm to be generated after termination of alarm group, together withtermination of a currently generated alarm, when the alarm grouptermination is generated during sequential generation of the pluralityof alarms.
 3. The method of claim 1, wherein the setting of the at leastone alarm group comprises: adding a new alarm to a corresponding alarmgroup when alarm group setting is selected in an alarm mode; and when analarm sub-group of the corresponding alarm group is selected, adding anew alarm to the alarm sub-group and setting whether to delete the alarmsub-group upon selection of alarm group termination as an operationcorresponding to alarm generation.
 4. The method of claim 1, wherein thesetting of the at least one alarm group comprises: displaying at leastone separate alarm which is separately set in an alarm mode; when manualalarm group setting is selected, switching to a manual alarm groupsetting mode; and in the manual alarm group setting mode, setting atleast one alarm selected from among the displayed at least one separatealarm as alarms of a corresponding alarm group or alarms of an alarmsub-group comprising the selected alarms.
 5. The method of claim 1,wherein the setting of the at least one alarm group comprises:displaying at least one separate alarm which is separately set in analarm mode; when automatic alarm group setting is selected, switching toan automatic alarm group setting mode; in the automatic alarm groupsetting mode, searching for information recorded in each of thedisplayed at least one separate alarm; searching for an alarm groupcorresponding to at least one character included in the recordedinformation; and automatically setting the alarm as an alarm of thealarm group corresponding to the at least one character included in therecorded information.
 6. The method of claim 5, further comprising, whenan alarm, which is not set as an alarm of the alarm group, exists amongthe displayed at least one separate alarm, manually setting the alarm ina corresponding alarm group or in a new alarm group.
 7. The method ofclaim 1, further comprising, when the alarm group termination isselected during generation of an alarm in the terminal, terminating atleast one alarm to be generated after generation of the alarm grouptermination among a plurality of alarms included in the alarm group,together with termination of the currently generated alarm.
 8. Themethod of claim 7, wherein the terminating of the at least one alarmcomprises: when the alarm group termination is selected duringgeneration of the alarm, determining whether an alarm sub-group existsin an alarm group including the generated alarm; determining atermination setting of the alarm sub-group when the alarm sub-groupexists; and when a termination exception is set for the alarm sub-group,terminating all alarms of the alarm group except for alarms included inthe alarm sub-group.
 9. The method of claim 8, further comprising, whenthe alarm sub-group does not exist in the alarm group, terminating allalarms of an alarm group including the generated alarm.
 10. The methodof claim 8, further comprising, when the termination exception is notset for the alarm sub-group, terminating all alarms of an alarm groupincluding the generated alarm.
 11. The method of claim 7, furthercomprising: when alarm termination is selected during generation of thealarm, terminating the generated alarm; and when a snooze is selectedduring generation of the alarm, setting a snooze function of terminatingthe generated alarm and generating alarms a specified number of times atspecified intervals.
 12. The method of claim 7, further comprising: whenthe alarm is terminated, determining a repetition period which is setfor the terminated alarm; when an alarm whose repetition period is setto occur one time exists among terminated alarms, moving the alarm to anone-time alarm group; and when an alarm whose repetition period is setto occur multiple times exists among the terminated alarms, releasingthe termination of the alarm on the next day.
 13. A terminal comprising:a controller configured to: set at least one alarm group, each alarmgroup comprising a plurality of alarms and set termination of theplurality of alarms to correspond to termination of the alarm group;when the alarm group termination is selected during generation of analarm in the terminal, determine whether an alarm sub-group exists in analarm group including the generated alarm, and when the alarm sub-groupdoes not exist in the alarm group, terminate all alarms of an alarmgroup including the generated alarm.
 14. The terminal of claim 13,wherein the controller is configured to automatically set termination ofat least one alarm to be generated after generation of alarm grouptermination, together with termination of a currently generated alarm,when the alarm group termination is generated during sequentialgeneration of the plurality of alarms.
 15. The terminal of claim 13,wherein the controller is configured to add a new alarm to acorresponding alarm group when alarm group setting is selected in analarm mode, and when an alarm sub-group of the corresponding alarm groupis selected, add a new alarm to the alarm sub-group and set whether todelete the alarm sub-group upon selection of alarm group termination asan operation corresponding to alarm generation.
 16. The terminal ofclaim 13, wherein the controller is configured to display at least oneseparate alarm which is separately set in an alarm mode, switch to amanual alarm group setting mode when manual alarm group setting isselected, and in the manual alarm group setting mode, set at least onealarm selected from among the displayed at least one separate alarm asalarms of a corresponding alarm group or alarms of an alarm sub-groupcomprising the selected alarms.
 17. The terminal of claim 13, whereinthe controller is configured to display at least one separate alarmwhich is separately set in an alarm mode, switch to an automatic alarmgroup setting mode when automatic alarm group setting is selected,search for information recorded in each of the displayed at least oneseparate alarms in the automatic alarm group setting mode, search for analarm group corresponding to at least one character included in therecorded information, and automatically set the alarm as an alarm of thealarm group corresponding to the at least one character included in therecorded information.
 18. The terminal of claim 17, wherein when analarm, which is not set as an alarm of the alarm group, exists among thedisplayed at least one separate alarm, the controller is configured tomanually set the alarm as an alarm of a corresponding alarm group or asan alarm of a new alarm group.
 19. The terminal of claim 13, whereinwhen alarm group termination is selected during generation of an alarmin the terminal, the controller is configured to terminate at least onealarm to be generated after generation of the alarm group terminationamong a plurality of alarms included in the alarm group, together withtermination of the currently generated alarm.
 20. The terminal of claim13, wherein the controller is configured to determine whether an alarmsub-group exists in an alarm group including the generated alarm whenthe alarm group termination is selected during generation of the alarm,determine termination setting of the alarm sub-group when the alarmsub-group exists, and terminate all alarms of the alarm group except foralarms included in the alarm sub-group when the termination exception isset for the alarm sub-group.
 21. The terminal of claim 20, wherein whenthe alarm sub-group does not exist in the alarm group, the controller isconfigured to terminate all alarms of an alarm group including thegenerated alarm.
 22. The terminal of claim 20, wherein when thetermination exception is not set for the alarm sub-group, the controlleris configured to terminate all alarms of an alarm group including thegenerated alarm.
 23. The terminal of claim 13, wherein the controller isconfigured to terminate the generated alarm when alarm termination isselected during generation of the alarm, and set a snooze function forterminating the generated alarm and generating alarms a specified numberof times at specified intervals when the snooze function is selectedduring generation of the alarm.
 24. The terminal of claim 13, whereinthe controller is configured to move one alarm whose repetition periodis set to occur one time among the terminated alarms to a one-time alarmgroup and release the termination of another alarm whose repetitionperiod is set to occur multiple times among the terminated alarms on thenext day.
 25. A non-transitory processor-readable recording mediumhaving recorded thereon a program, that when executed by a processor,the program configured to perform at least the following: set at leastone of a plurality of alarm groups, each alarm group comprising aplurality of alarms and set termination of the plurality of alarms tocorrespond to termination of the alarm group; when the alarm grouptermination is selected during generation of an alarm in the terminal,determine whether an alarm sub-group exists in an alarm group includingthe generated alarm; and when the alarm sub-group does not exist in thealarm group, terminate all alarms of an alarm group including thegenerated alarm.